import request from '@/utils/request'



//获取已扫描未扫描的条数
export function getScanCount() {
	return request({
		url: `/api/Business/qmsbusipick/GetDataCount`,
		method: 'post',
		options: {
			load: false
		}
	})
}

// 获取做番号获取数据
export function GetNoCount(data) {
	return request({
		url: `/api/Business/qmsbusipick/GetNoCount`,
		method: 'post',
		data,
		options: {
			load: false
		}
	})
}


// 获取箱号做番号获取数据
export function GetBoxNoCount(data) {
	return request({
		url: `/api/Business/qmsbusipick/GetBoxNoCount`,
		method: 'post',
		data,
		options: {
			load: false
		}
	})
}

// 扫码
export function ScanInterface(data) {
	return request({
		url: `/api/Business/qmsbusipick/ScanInterface?No=${data.No}&BoxNo=${data.BoxNo}&DrawingNo=${data.DrawingNo}&Qty=${data.Qty}`,
		method: 'post',
		options: {
			load: false
		}
	})
}